/*
 * Copyright (c) 2017, Li Bo/Alex Lee All rights reserved.
 * 
 * http://www.libo4dream.club/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
package com.hyts.fscan.base;


import com.hyts.fscan.domain.Directory;

/**
 * @ClassName: AbstractFileSystemScanner
 * @Description: 抽象文件系统服务扫描器-抽象类：
 * 				   用于抽象，简单型扫描器、以及扩展型扫描器
 * 				   复杂性扫描器
 * @author: LiBo/Alex Lee
 * @date: 2017年9月27日 上午12:40:01
 * @email: alexlibochn@china-pui.com.cn/alex.link@foxmail.com
 */
public abstract class AbstractFileSystemScanner extends FileScannerCenter{

	 /**
	  * @Title: scan
	  * @Description: 搜索扫描方法操作
	  * @param dir 扫描的文件夹
	  * @return: Integer 返回结果为文件数目
	  */
	  public abstract Integer scan(Directory dir);
	  
}
